import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

const routes = [{
    path: '/shujia',
    name: 'shujia',
    component: () => import('views/shujia.vue')
  },
  {
    path: '/xqy',
    name: 'xqy',
    component: () => import('views/xqy.vue')
  },
  {
    path: '/shucheng',
    name: 'shucheng',
    component: () => import('views/shucheng.vue'),
  },
  {
    path: '/fenxiang',
    name: 'fenxiang',
    component: () => import('../views/fenxiang.vue')
  },
  {
    path: '/wode',
    name: 'wode',
    component: () => import('../views/wode.vue')
  },
  {
    path: '/',
    redirect: "/shujia"
  },
]



































const router = new VueRouter({
  // mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router